import request from '@/utils/request'

// 查询七牛云Tocker
export function getUploadToken(query) {
  return request({
    url: '/prod-api/file/getUploadToken',
    method: 'get',
    params: query
  })
}

export function getAllUploadToken(query) {
  return request({
    url: '/prod-api/file/getAllUploadToken',
    method: 'get',
    params: query
  })
}

// 获取上传视频token
export function getVideoUpToken(query) {
  return request({
    url: '/prod-api/file/getVideoUpToken',
    method: 'get',
    params: query
  })
}
